package net.sourceforge.slcwsn.monitorapp;

public class Fib {
    public static long fib(long i) {
        return (i == 0) ? 0 : (i == 1) ? 1 : fib(i - 1) + fib(i - 2);
    }

    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            System.out.println(i+": "+fib(i));
        }
    }
}
